package com.md.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.md.value.RoleStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * @author 刘骄阳
 * 2024-12-15 1:45
 */
@Data
@ApiModel("角色响应实体")
public class RoleResponse {
  @ApiModelProperty(value = "角色id")
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long id;
  @ApiModelProperty(value = "角色名")
  private String name;
  @ApiModelProperty(value = "角色状态")
  private RoleStatusEnum status;
  @ApiModelProperty(value = "角色权限")
  private List<RoleModuleResponse> rolePermission;
}
